package com.zhu.websocketdemo.dto;

import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class RankItem {
    private String username;
    private int messageCount;
    public RankItem(String username, Integer messageCount) {
        this.username = username;
        this.messageCount = messageCount;
    }
}
